package com.example.esredisrabbitmqdemo.service;

import com.example.esredisrabbitmqdemo.pojo.User;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

/**
 * @BelongsProject: es-redis-rabbitmq-demo
 * @BelongsPackage: com.example.esredisrabbitmqdemo.service
 * @Author: 江岸
 * @CreateTime: 2020-07-04 15:11
 * @Description:
 */
//接口继承ElasticsearchRepository，填上实体类，主键数据类型
public interface UserServiceForElasticsearch extends ElasticsearchRepository<User,Integer> {

}
